<div class="page_title">
    <span class="title_icon"><span class="coverflow"></span></span>
    <h3>Formulario de registro de nueva alerta</h3>    
</div>
<div id="content">
    <div class="grid_container">
        <div class="grid_12">
            <div class="widget_wrap">
                <div class="widget_top">
                    <span class="h_icon list"></span>
                    <h6>Formulario de alerta nueva</h6>
                </div>
                <div class="widget_content">
                    <!--<form action="#" method="post" id="regitstraion_form" class="form_container left_label">-->
                    <?php echo $this->Form->create('Alerta', array('id' => 'formalerta', 'class' => 'form_container left_label')); ?>
                    <ul>
                        <li>
                            <div class="form_grid_12">
                                <label class="field_title" for="name">Nombre<span class="req">*</span></label>
                                <div class="form_input">
                                    <!--<input name="name" id="name" type="text" tabindex="1" class="limiter required small"/>-->
                                    <?php echo $this->Form->text('nombre', array('tabindex' => 1, 'class' => 'limiter required mid')); ?>
                                </div>
                            </div>
                        </li>                  
                        <li>
                            <div class="form_grid_6">
                                <label class="field_title" for="campo1">
                                    Mi campo ejemplo
                                    <span class="req">
                                        *
                                    </span>
                                </label>
                                <div class="form_input">
                                    <?php echo $this->Form->text('datodelcampodemitabla1')?>
                                </div>
                            </div>
                            <div class="form_grid_6">
                                <label class="field_title" for="campo2">
                                    Mi campo ejemplo
                                    <span class="req">
                                        *
                                    </span>
                                </label>
                                <div class="form_input">
                                    <?php echo $this->Form->text('datodelcampodemitabla2')?>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="form_grid_12">
                            <label class="field_title">Trauma</label>
                                <div class="form_input">
                                    <span>
                                            <input name="data[Trauma][trauma]" class="radio" type="radio" value="T" tabindex="1" selected>
                                            <label class="choice">Trauma</label>
                                        </span><span>
                                            <input name="data[Trauma][trauma]" class="radio" type="radio" value="NT" tabindex="1">
                                            <label class="choice">Notrauma</label>
                                        </span>
                                        <span class=" label_intro"></span>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="form_grid_12">
                                <label class="field_title" for="descripcion">Descripcion<span class="req">*</span></label>
                                <div class="form_input">
<!--                                            <input name="username" id="username" type="text" tabindex="1" class="required limiter mid"/>-->
                                    <?php echo $this->Form->text('descripcion', array('tabindex' => 1, 'class' => 'limiter required mid')); ?>
                                </div>
                            </div>
                        </li>                                                                
                        <li>
                            <div class="form_grid_12">
                                <div class="form_input">
                                    <button type="submit" class="btn_small btn_blue"><span>Registrar Trauma</span></button>
                                    <button type="reset" class="btn_small btn_blue"><span>Limpiar</span></button>
                                </div>
                            </div>
                        </li>
                    </ul>
                    </form>
                </div>
            </div>
        </div>           
    </div>
    <span class="clear"></span>
</div>

<div class="alertas form">
<?php echo $this->Form->create('Alerta'); ?>
	<fieldset>
		<legend><?php echo __('Add Alerta'); ?></legend>
	<?php
		echo $this->Form->input('color');
		echo $this->Form->input('estilo');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('List Alertas'), array('action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('List Conceptos'), array('controller' => 'conceptos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Concepto'), array('controller' => 'conceptos', 'action' => 'add')); ?> </li>
	</ul>
</div>
